﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SendMesssageUserControl.ascx.cs" Inherits="UserControl_Guitinnhan1" %>
<style type="text/css">

    .style1
    {
        width: 400px;
        
        
    }
    .style2
    {
        text-align: left;
    }
    .style3
    {
        width: 121px;
    }
</style>

<table class="style1">
    <tr>
        <td colspan="3" class="style2" style="text-align: center">
            <h1>Gửi tin nhắn</h1>
        </td>
    </tr>
    <tr>
        <td style="text-align: right" class="style3">
            Người gửi:</td>
        <td colspan="2">
            <asp:Label ID="txtUsername" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td style="text-align: right" class="style3">
            Người nhận:</td>
        <td colspan="2">
            <asp:TextBox ID="txtToUsername" runat="server" Width="240px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right" class="style3">
            Tựa đề:</td>
        <td colspan="2">
            <asp:TextBox ID="txtSubject" runat="server" Width="240px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right" class="style3">
            Nội dung tin nhắn:</td>
        <td colspan="2">
            <asp:TextBox ID="txtContent" runat="server" Width="240px" Height="100px" 
                TextMode="MultiLine"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right" class="style3">
            Thời điểm nhắn:</td>
        <td colspan="2">
            <asp:Label ID="lblCreateTime"  runat="server" Width="200px"></asp:Label>
        </td>
    </tr>
    <tr>
        <td style="text-align: right" class="style3">
            &nbsp;</td>
        <td>
            <asp:Button ID="btnSendMessage" runat="server" Text="Gửi" Width="100px" onclick="btnSendMessage_Click" />
        </td>
    </tr>
    </table>



